public class Main {
    public static void main(String[] args) {
        String s = "({[)";
        Solution_1 solution = new Solution_1();
        System.out.println(solution.isValid(s));
    }
}